
package com.morningstar.qs.basic.db.bean;

import java.util.Date;

import com.morningstar.qs.basic.db.util.BeanBase;

public class UserSharingInfo extends BeanBase implements  java.io.Serializable{
	
	
	private static final long serialVersionUID = -1101063558705259611L;
	
	private int sharingId;
	private short sharingType;
	private String senderAddress;
	private String receiverAddress;
	private String content;
	private Date createTime;
	
	
	public UserSharingInfo(){
		
	}
	
	public UserSharingInfo(int sharingId, short sharingType,
			String senderAddress, String receiverAddress, String content,
			Date createTime) {
		super();
		this.sharingId = sharingId;
		this.sharingType = sharingType;
		this.senderAddress = senderAddress;
		this.receiverAddress = receiverAddress;
		this.content = content;
		this.createTime = createTime;
	}
	
	
	public int getSharingId() {
		return sharingId;
	}
	public void setSharingId(int sharingId) {
		this.sharingId = sharingId;
	}
	public short getSharingType() {
		return sharingType;
	}
	public void setSharingType(short sharingType) {
		this.sharingType = sharingType;
	}
	public String getSenderAddress() {
		return senderAddress;
	}
	public void setSenderAddress(String senderAddress) {
		this.senderAddress = senderAddress;
	}
	public String getReceiverAddress() {
		return receiverAddress;
	}
	public void setReceiverAddress(String receiverAddress) {
		this.receiverAddress = receiverAddress;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	@Override
	public String toString() {
		return "UserSharingInfo [sharingId=" + sharingId + ", sharingType="
				+ sharingType + ", senderAddress=" + senderAddress
				+ ", receiverAddress=" + receiverAddress + ", content="
				+ content + ", createTime=" + createTime + "]";
	}
	
	
}

